#ifndef RSLISTPKG_H
#define RSLISTPKG_H

#include "protocol.h"

class RSListPackages : public Protocol
{
	public:
		RSListPackages(Client*);
		~RSListPackages();

		bool8 recognize(uint8* Msg, uint32 Len);
		int32 start(uint8* Msg, uint32 Len);

		void netIn(int32 Amt);
		void netOut(int32 Amt);

	protected:
		void continueSend();

	protected:
		String	m_filename;
		int32	m_requested_pkg;
		int32	m_filename_tosend;
		bool8	m_done;
		uint32	m_version;
		bool8	m_multibyte;

};

#endif
